package org.itboys.core.dao.order;

import org.apache.ibatis.annotations.Param;
import org.itboys.core.entity.mysql.SundayAddProductOrderSKU;
import org.itboys.core.entity.mysql.SundayInStoreOrderSKU;
import org.itboys.mysql.dao.BaseMySqlMapper;

import java.util.List;

/**
 * @Author：贾琦磊
 * @Date：2018/8/17
 * @Description：补货单附表mapper
 */
public interface SundayAddProductOrderSKUMapper extends BaseMySqlMapper<SundayAddProductOrderSKU>{
    /**
     * 批量增加入库单附表
     * @param addProductOrderSKUS
     */
    void insertSKUs(@Param("skus") List<SundayAddProductOrderSKU> addProductOrderSKUS);

    /**
     * 批量删除skuOrder
     * @param orderId
     */
    void deleteByOrderId(@Param("orderId")Long orderId);
}
